/**
 * @author: 小红
 * @date: 2025/3/24
 * @Description: 无界微服务生命周期
 */

const lifecycles = {
  beforeLoad: (_appWindow: any) => {
    // console.log(`${_appWindow.__WUJIE.id} beforeLoad 生命周期`)
  },
  beforeMount: (_appWindow: any) => {
    // console.log(`${_appWindow.__WUJIE.id} beforeMount 生命周期`)
  },
  afterMount: (_appWindow: any) => {
    // console.log(`${_appWindow.__WUJIE.id} afterMount 生命周期`)
  },
  beforeUnmount: (_appWindow: any) => {
    // console.log(`${_appWindow.__WUJIE.id} beforeUnmount 生命周期`)
  },
  afterUnmount: (_appWindow: any) => {
    // console.log(`${_appWindow.__WUJIE.id} afterUnmount 生命周期`)
  },
  activated: (_appWindow: any) => {
    // console.log(`${_appWindow.__WUJIE.id} activated 生命周期`)
  },
  deactivated: (_appWindow: any) => {
    // console.log(`${_appWindow.__WUJIE.id} deactivated 生命周期`)
  },
  loadError: (_url: any, _e: any) => {
    // console.log(`${url} 加载失败`, e)
  },
}

export default lifecycles
